package com.muzi.command;

import com.muzi.factory.FarmEquipment;

// 启动命令
public class StartCommand implements Command {
    private FarmEquipment equipment;//农场设备

    public StartCommand(FarmEquipment equipment) {
        this.equipment = equipment;
    }

    @Override
    public void execute() {
        equipment.operate(); // 执行启动
    }
}

